/**
 * Copyright (c) Enalean, 2018. All Rights Reserved.
 *
 * This file is a part of Tuleap.
 *
 * Tuleap is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Tuleap is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Tuleap. If not, see <http://www.gnu.org/licenses/>.
 */

@import 'milestone';

.milestones-load-closed {
    display: flex;
    flex: 1 1 auto;
}

.milestones-load-closed-link {
    margin: 50px auto;
    font-size: 14px;
}

.milestones-separator {
    position: relative;
    top: 20px;
    margin: 0 0 50px;
    color: transparentize($tlp-theme-color, .7);
    font-size: .9em;
    text-align: center;

    > span {
        padding: 10px;
        background: $tlp-theme-background-color;
    }

    &::after {
        content: '';
        position: absolute;
        z-index: -1;
        top: 0;
        left: 0;
        width: 100%;
        height: 50%;
        border-bottom: 1px solid transparentize($tlp-theme-color, .85);
    }
}

.milestones-loading {
    @extend %loader;
}

.no-open-milestones,
.no-closed-milestones {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 $tlp-spacing;
    color: transparentize($tlp-theme-color, .7);
    font-size: 14px;
    text-align: center;
}

.no-milestone-image {
    margin: $tlp-spacing 0 10px;
    fill: transparentize($tlp-theme-color, .8);
}
